#region head comment
/*
Code generate by YhdSdkTool.
email:starpeng@vip.qq.com
2013-01-21 23:00:57:155 +08:00
*/
#endregion

using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using YhdSdk.Domain;
using YhdSdk.Domain.Order;
using YhdSdk.Response.Order;

namespace YhdSdk.Request.Order
{
    /// <summary>
    /// 更新单个订单的卖家备注信息
    ///<para></para>
    ///<para>根据订单编码，订单卖家备注，更新单个订单的卖家备注信息，更新成功，返回更新成功记录数，更新失败，则返回更新失败记录数</para>
    ///<para>及相应的错误信息描述</para>
    /// </summary>
    public class YhdOrderMerchantRemarkUpdateRequest : IYhdRequest<YhdOrderMerchantRemarkUpdateResponse>
    {
        /// <summary>
        /// 订单编码
        /// </summary>
        [XmlElement("orderCode")]
        public String OrderCode
        {
            get;
            set;
        }

        /// <summary>
        /// 订单卖家备注,最大长度为500
        /// </summary>
        [XmlElement("remark")]
        public String Remark
        {
            get;
            set;
        }

        /// <summary>
        /// Api接口名称
        /// </summary>
        public String ApiName
        {
            get{ return "yhd.order.merchant.remark.update"; }
        }

        /// <summary>
        /// 获取参数列表
        /// </summary>
        public IDictionary<string, string> GetParameters()
        {
            YhdDictionary parameters = new YhdDictionary();
            parameters.Add("orderCode" ,this.OrderCode);
            parameters.Add("remark" ,this.Remark);
            return parameters;
        }

        /// <summary>
        /// 验证参数
        /// </summary>
        public void Validate()
        {
        }

    }
}
